#ifndef __COMMONTOOL_H__
#define __COMMONTOOL_H__
#include <stdbool.h>

#define MAX_MESSAGE_LENGTH 128
#define MAX_USERNAME_LENGTH 15

bool checkUserNameLegal(const char * name);

bool checkPasswdLegal(const char * passwd);

#endif //__COMMONTOOL_H__